package com.gan.simple_init;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)
@MapperScan({"com.gan.**.mapper.**"})
public class SimpleInitApplication {

    public static void main(String[] args) {
        SpringApplication.run(SimpleInitApplication.class, args);
        System.out.println("接口文档地址：http://localhost:8123/SimpleInit/doc.html");
    }

}
